#ifndef _ON_CHIP_FLASH_H_
#define _ON_CHIP_FLASH_H_

void EraseFlash(unsigned int waddr);
unsigned char R_Flash_Byte(unsigned int address);
unsigned char W_Flash_Byte(unsigned int address,unsigned char data);
unsigned char WriteFlash(unsigned int addr,unsigned char *pdata,
                unsigned int length);

#endif //_ON_CHIP_FLASH_H_